<?xml version='1.0' encoding='UTF-8' ?>
<html xmlns="http://www.w3.org/1999/xhtml"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core" 
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:p="http://primefaces.org/ui"
		xmlns:pe="http://primefaces.org/ui/extensions">
	<h:head>
		<title>IBTools</title>
		<link type="text/css" rel="stylesheet"
			href="#{request.contextPath}/css/#{themeSwitcherBean.theme}/jquery-ui-1.8.23.custom.css" />
		<link type="text/css" rel="stylesheet"
			href="#{request.contextPath}/css/#{themeSwitcherBean.theme}/theme.css" />
		<link type="text/css" rel="stylesheet"
			href="#{request.contextPath}/css/login.css" />
		<link rel="shortcut icon"
				href="#{request.contextPath}/css/images/Settings1.png" />
		
		<h:outputScript library="primefaces" name="jquery/jquery.js" />
	</h:head>
	<h:body>
		<script type="text/javascript">
			
			var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
			var is_firefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
			
			if( is_chrome || is_firefox){
				window.location = "servicetester.jsf";
			}
			
			jQuery(document).ready(function() {
				var theWidth, theHeight;
				// Window dimensions: 
				if (window.innerWidth) {
					theWidth=window.innerWidth;
				}
				else if (document.documentElement &amp;&amp; document.documentElement.clientWidth) {
					theWidth=document.documentElement.clientWidth;
				}
				else if (document.body) {
					theWidth=document.body.clientWidth;
				}
				if (window.innerHeight) {
					theHeight=window.innerHeight;
				}
				else if (document.documentElement &amp;&amp; document.documentElement.clientHeight) {
					theHeight=document.documentElement.clientHeight;
				}
				else if (document.body) {
					theHeight=document.body.clientHeight;
				}
				var toph = theHeight / 2;
				var leftw = theWidth / 2;
				jQuery("#picPanel").css({position: 'absolute', top: toph, left: leftw});
			});
		</script>
		
		<div style="width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; z-index: -1;"
			class="login-background"/>
		
		<p:panel id="picPanel" columns="2" style="border:none;background:none;">
		    <h:graphicImage value="/css/images/Chrome-big.png" height="50" width="50"/>  
		    <h:graphicImage value="/css/images/Firefox_big.png" height="50" width="50"/>  
		</p:panel>
	</h:body>
</html>